package com.rgs.ssm.service;

import com.rgs.ssm.domain.Product;

import java.util.List;

/**
 * @create 2021-02-15 16:49
 **/
public interface IProductService {


    void saveProduct(Product product);

    void delete(Integer id);

    void update(Product product);

    List<Product> findAll(int page,int size);

    List<Product> findAll();

    Product findById(Integer id);
}
